package com.qiaofang.collectmanage.facade;

/**
 * @Author:   yi.li
 */

import com.github.ltsopensource.spring.boot.annotation.EnableTaskTracker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

import com.qiaofang.common.feignset.config.FeignConfiguration;

@SpringBootApplication
@ComponentScan(basePackages={"com.qiaofang.collectmanage","com.qiaofang.*.stub.feign"})
@MapperScan({"com.qiaofang.collectmanage.dao.mapper"})
@EnableFeignClients(
		value = {"com.qiaofang.*.stub"},
		defaultConfiguration = FeignConfiguration.class) // 扫描feign注册client的bean
@EnableTaskTracker
public class CollectManageApplication {

	   public static void main(String[] args) {
	        SpringApplication.run(CollectManageApplication.class, args);
	    }

}
